From 5b6313f16f508882a0ea67716b7dbaa1c6967f04 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Mon, 30 Jun 2025 08:28:13 +0000
Subject: (대표님) 20250630 16시 - 유저 도메인별 라우터 분리와 보안성검토 대응
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/[lng]/sales/(sales)/items-tech/layout.tsx | 38 +++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 app/[lng]/sales/(sales)/items-tech/layout.tsx

(limited to 'app/[lng]/sales/(sales)/items-tech/layout.tsx')

diff --git a/app/[lng]/sales/(sales)/items-tech/layout.tsx b/app/[lng]/sales/(sales)/items-tech/layout.tsx
new file mode 100644
index 00000000..d375059b
--- /dev/null
+++ b/app/[lng]/sales/(sales)/items-tech/layout.tsx
@@ -0,0 +1,38 @@
+import * as React from "react"
+import { ItemTechContainer } from "@/components/items-tech/item-tech-container"
+import { Shell } from "@/components/shell"
+import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton"
+
+// Layout 컴포넌트는 서버 컴포넌트입니다
+export default function ItemsShipLayout({
+  children,
+}: {
+  children: React.ReactNode
+}) {
+  // 아이템 타입 정의
+  const itemTypes = [
+    { id: "ship", name: "조선 아이템" },
+    { id: "top", name: "해양 TOP" },
+    { id: "hull", name: "해양 HULL" },
+  ]
+
+  return (
+    <Shell className="gap-4">
+      <React.Suspense
+      fallback={
+        <DataTableSkeleton
+          columnCount={6}
+          searchableColumnCount={1}
+          filterableColumnCount={2}
+          cellWidths={["10rem", "40rem", "12rem", "12rem", "8rem", "8rem"]}
+          shrinkZero
+        />
+      }
+    >
+      <ItemTechContainer itemTypes={itemTypes}>
+        {children}
+      </ItemTechContainer>
+    </React.Suspense>
+    </Shell>
+  )
+}
-- 
cgit v1.2.3

